c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild /p:Configuration=Release /p:Platform="Any CPU" /t:Clean;Rebuild /p:OutputPath=%cd% ILMergeAssemblyInfo.sln

RMDIR obj /S /Q
DEL ILMergeAssemblyInfo.pdb /Q

CD Output\7.0\Debug

"%programfiles(x86)%\microsoft\ilmerge\ilmerge.exe" /targetplatform:v4,"%ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone" /out:WP7Contrib.dll ..\..\..\ILMergeAssemblyInfo.dll WP7Contrib.Caching.dll WP7Contrib.Collections.dll WP7Contrib.Common.dll WP7Contrib.Communications.dll WP7Contrib.Diagnostics.dll WP7Contrib.Logging.dll WP7Contrib.Messaging.dll WP7Contrib.Services.dll WP7Contrib.View.Controls.dll WP7Contrib.View.Transitions.dll WP7Contrib.Serialization.Helpers.dll

CD ..\Release

"%programfiles(x86)%\microsoft\ilmerge\ilmerge.exe" /targetplatform:v4,"%ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone" /out:WP7Contrib.dll ..\..\..\ILMergeAssemblyInfo.dll WP7Contrib.Caching.dll WP7Contrib.Collections.dll WP7Contrib.Common.dll WP7Contrib.Communications.dll WP7Contrib.Diagnostics.dll WP7Contrib.Logging.dll WP7Contrib.Messaging.dll WP7Contrib.Services.dll WP7Contrib.View.Controls.dll WP7Contrib.View.Transitions.dll WP7Contrib.Serialization.Helpers.dll

CD ..\..\..\Output\7.1\Debug

"%programfiles(x86)%\microsoft\ilmerge\ilmerge.exe" /targetplatform:v4,"%ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71" /out:WP7Contrib.dll ..\..\..\ILMergeAssemblyInfo.dll WP7Contrib.Caching.dll WP7Contrib.Collections.dll WP7Contrib.Common.dll WP7Contrib.Communications.dll WP7Contrib.Diagnostics.dll WP7Contrib.Logging.dll WP7Contrib.Messaging.dll WP7Contrib.Services.dll WP7Contrib.View.Controls.dll WP7Contrib.View.Transitions.dll WP7Contrib.Serialization.Helpers.dll

CD ..\Release

"%programfiles(x86)%\microsoft\ilmerge\ilmerge.exe" /targetplatform:v4,"%ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71" /out:WP7Contrib.dll ..\..\..\ILMergeAssemblyInfo.dll WP7Contrib.Caching.dll WP7Contrib.Collections.dll WP7Contrib.Common.dll WP7Contrib.Communications.dll WP7Contrib.Diagnostics.dll WP7Contrib.Logging.dll WP7Contrib.Messaging.dll WP7Contrib.Services.dll WP7Contrib.View.Controls.dll WP7Contrib.View.Transitions.dll WP7Contrib.Serialization.Helpers.dll

CD ..\..\..\

